<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let score = +prompt('输入高考成绩')
    if (score > 700) {
      alert('恭喜你考入了北大')
    }
  </script>
</body>

</html>